package com.sumer.brain.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sumer.brain.sys.model.entity.GenTable;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sumer.brain.sys.model.req.GenTableReq;

import java.util.List;

public interface GenTableMapper extends BaseMapper<GenTable> {

    Page<GenTable> dbPage(Page<GenTable> page, GenTableReq genTableReq);

    List<GenTable> selectDbTableListByNames(List<String> tableNames);

    int insertGenTable(GenTable table);

    List<GenTable> selectGenTableAll();

    GenTable selectGenTableByName(String subTableName);

    GenTable selectGenTableById(Long tableId);

    int updateGenTable(GenTable genTable);
}




